//
// Created by wei on 2022/5/15.
//

#ifndef B_PLUS_DB_COMPACT_DATA_H
#define B_PLUS_DB_COMPACT_DATA_H

#include "compact_header.h"

struct COMPACT_DATA {
    COMPACT_HEADER compact_header;//5 bytes
    unsigned int id;
    unsigned char c1[129];
    unsigned char c2[129];
    unsigned char c3[129];
    unsigned char c4[81];

    void check() {
        printf("{id:%d, c1:[%d, %d, ..., %d, %d], c2:[%d, %d, ..., %d, %d], c3:[%d, %d, ..., %d, %d], c4:[%d, %d, ..., %d, %d]}\n",
               id, c1[0], c1[1], c1[126], c1[127], c2[0], c2[1], c2[126], c2[127], c3[0], c3[1], c3[126], c3[127],
               c4[0], c4[1], c4[78], c4[79]);
    }
};

#endif //B_PLUS_DB_COMPACT_DATA_H
